changed check mate state