update model for lecture