there is no need to get rid of the hisrory.
if you make your form properly, and use some type of variable (like a session cookie) that only exists when you are submitting the form...
after you enter into the process of updating the database you clear/wipe that variable.... so then if you hit refresh, the variable no longer exists, the database does not get updated again