separate update and delete functions

changed application id
no delete function