update msgqueue