Generalize update_status() with respect to the number of clients