update index file
display message to new line