update grocery crud and clean some depricated file