update DB and its Model