added remove by entity rpc