update packages, some real api impl, misc