Update Arel query.