more work on checking palace upgrades