Did the edit/update action -- still needs to work a little on refactoring the update API endpoint