update code, add post type support, translation update