add project destroy api and optimize project update api