update assigment