update models for handle data in db