How to edit products in a form