fixed the update position to actually update in a proper physics way