prettify and update