fixed bug where king didnt update