update typeids + published items only

closes #23, closes #24