update model structures