module creator: fixed update problem on deletion of endpoint.  Closes #768