fix warning about having to update data. Also remove caching of has_result? as it's not accurate anymore