change updatenote to post method