Update gems and database file