update readme and template file