update layermanager