incrementing gate version