Renaming updateCode functions to compile code where appropriate

that's what it does so that's what it should be called
Better check for wakup