edit works. create and delete needs to be fixed