Change in the store procedure of detail update event