added boolean return type to save and destroy