updated migration, gems and some specs