update packages
update cache and log