update models library - fix #350