Corrected check in site update method.