lock around currently_used_sites update