Update models entity