updating thymeleaf layer