update example file
update dependency
merge from optimize