updated blog controler