updates new residual imgs