update configs, readme, sample minor bug