Fix for ActiveRecord::ReadOnlyRecord exception when updating service
records