resaving db changes