update license to Apache 2.0 for hydro