updating media location