update associated model ids on server after deleting locally

For #30.