update-in error

Fix unintended recursion and error