update sequel model update query to support transaction