update the mqueue