Changed form to write to database