update the way of choosing valid chromos