Edit query for doubles
Add info to form elements