adding features and delete
fixing bugs on create and delete