Implemented model edit