Get rid of some unused update queries in update_positions