update model for conflit to database