Fix for timeout error while updating a record.