Added update and delete methods for applications