update of coordinates