update dist code