Fix bug in update message