edit get api