Update record when exists