Save edited values to DB