modify res location