Add shortcut function for update and delete