update models and messages