updated position calcs