def METHOD_NAME(auth_id: int) -> db.Authenticatable:
    """
    Get user or node from ID and update last time seen online.
    Parameters
    ----------
    auth_id : int
        ID of the user or node
    Returns
    -------
    db.Authenticatable
        User or node database model
    """
    auth = db.Authenticatable.get(auth_id)
    auth.last_seen = datetime.datetime.utcnow()
    auth.save()
    return auth