changing astronomy agent to emit events when fetched