Updating gem structure