update with object position calculation