code rules updated