added posttype edit, update, delete