update packages and add conditional load to w3m