add auto generation to the tutorials on insert/update