added pkgsrc update function