update layerdrawer