implemented -handleEditInstanceRequest