added upgrade script to delete removed keys from posts