added autupdate functions