Set correct table alias name in updatePosition