Update gem structure