Add interception logic for update and delete commands