Update GPIOpin class.