temporary auto update function