update models and controllers