edit redis host and address
update notes
modify code style