update core models