Temperature and density dependent cooling function for H_2 with updated H_2/H collisional rates