updating readme and code