registration api update