changing media directory