edit api added + add api returns added object