update models and controller spec