update migration and gemfile + env