update last doc