Update and rename g to pass