updated the site lock mechanism