Updates for codes

Updates for codes