update hamlet