improve sample project
fix cud api