update admin posts view for new cms
fix bugs, update to work with cms 1.8