basic api update