update spec controller class