added auto updating