import re


def has_updated(message):
    """
    Function to check if a message contains any word that indicates an update of lines of code.
    """
    if (re.search(
            r"update[d]*|mov(?:ing|e|ed)|refactor|modifying|switching|deprecate(?:d)*|"+
            "clean(?:up|ed)*",
            message.lower())):
        return True
    return False