replace admin file