update root path and rake db migrate for scaffold