update position on ready