slight change to update_facts signature
update facts after agent registers
reorganizing restful controllers
fixed image path
refresh facts from ui