Make input editing functional