Update class in block login