edit controller now with save action; template now saving model data