move gems out of database