fix force update function