edited api update