work on input edit'