save and changes in db