posting an update now refreshes the page and has better error checking