update of an element