update remote master method c