Set up update hooks