update dependencies
update compile file
use new code in example