code tunning update