add client api functionality for delete and append