update lecture flow