update diary classes