manage_db should now change categories of existing posts as well as remove deleted posts from the db