just remove the data from the db if your network call succeeds. otherwise use the old data
m
just remove the data from the db if your network call succeeds. otherwise use the old data