fix update to use post