Update main.lua

fixed update keyboard