update models definition