model layer update