FUCKING WORKING UPDATE CASE

WOOHOO, the code is terrible though