added console output update in real time