Save all inputs on edit