update puzzle