updated gates