updated puts in stdio

updated puts in stdio