updating block stats