fixed variable name typos and small validation whoes
added lecture update calls to guess controller