changed media directory to assets