update models and events
update model