modify layers