refactor
update sample
assets
add check if exists