update Layer module and test page