update \$state_path/lock