Updated echo type
Updated Edit Query
Merge pull request #383 from Lerogero/master

Fixed input field & updated edit query