dynamic layers update