publish: update contact methods

generated from commit 94b264c142e3e69e46ecf701e13d78a2fed14a6c