change erb for history api
generate static file for history api