Saves changes of model to the SQL Db