refactor save_action to save only params