with pages scaffold views not cod_smth updated to smth_id