Surface modification due to hydrogen-graphite interaction