update keyboard macro