import re


def parse_status_update(text):
    """
    Parse "/status :emoji: sometext" messages. If there is a match, return a dict
    containing the profile attributes to be updated. Else return None.
    """
    status_update_match = re.match(
        r"^/status (?P<status_emoji>:[^ :]+:) +(?P<status_text>.+)$", text
    )
    return None if status_update_match is None else status_update_match.groupdict()