fix update position