Add refresh_facts functionality