Splits result message into error and success messages. Updates list id.