update class for block login