Extracted methods from update in KeyPadLayer