added methods for updating and deleting instance metadata