(wip) rest api update