update code part