changed max_time check to timer thread and created update_client for developing update feature of communication