more changes in deleteApplication api call