update of shadow