edit scripts update
post details/edit pages refactor