update css on block login