udpating scheme