trial to make edit.html completely dynamic