Fixed update and delete commands to accept records