use arel to construct sql updates