Updating the Apollo cache