put update in backwards pass