updated blog controller