Updating histogram size