updating work copy