merged save and delete function into modify. added redis beginnings