FEM updating of a reinforced concrete beam using damage functions