Flow effects on jet energy loss with detailed balance