update message status final code