added create and update CRUD actions
fixed mistakes: Added create and updated CRUD action