emit events for loading progress