Updates Logic