Updates before class