updated chess lib