udpate assignment