update nice code