Enchanting an armor/tool/heads through commands doesn't not update the item after when the command is successful done.
How To Reproduce:-
Step 1:- Take any item which is enchant able.
Step 2:- Go to the chat and type the command and press enter.
Step 3:- The chat will appear saying Enchanted successful.
The item does not update after the command is successful done.
The item should update immediately after the command is successful.
Hoping this information is helpful to fix the bug.