updating structure.sql and gems