sync the client side template