Fixes #8712 - added refresh_facts to api

nitpick: identation