add append and update api