on server, we need to update read command before advance tail in
ring buffer