added some layout + made it so that each time you submit you update a previous record