edit puts statement