update readme
fix function