add all function
update directory