How do I use a form of to collect data and allow users to update data