fix update check tool
remove assert when querying layer with invalid id
update tests