Adding an Update Hook