update controllers and migrations