added key param to runtimeChanged