Fixed input field & updated edit query