fixing auto updating