post method update