'Update the screen.
Wait for __refresh_time sec / catch key every 100 ms.
INPUT
stats: Stats database to display
cs_status:
"None": standalone or server mode
"Connected": Client is connected to the server
"Disconnected": Client is disconnected from the server
return_to_browser:
True: Do not exist, return to the browser list
False: Exit and return to the shell
OUPUT
True: Exit key has been pressed
False: Others cases...'

def update(self, stats, cs_status=None, return_to_browser=False):

    self.flush(stats, cs_status=cs_status)
    exitkey = False
    countdown = Timer(self.__refresh_time)
    while ((not countdown.finished()) and (not exitkey)):
        pressedkey = self.__catch_key(return_to_browser=return_to_browser)
        exitkey = ((pressedkey == ord('\x1b')) or (pressedkey == ord('q')))
        if ((not exitkey) and (pressedkey > (-1))):
            self.flush(stats, cs_status=cs_status)
        self.wait()
    return exitkey
