Emit event when data is loaded