Fixing usage statistics logging by adding update chain for uid