Modify GEM file