edit colition code