updating vertex demo