Make gen_server for periodic register update.