Update frontend and fix models.