you don't need to bind the hidden field to the server file name binding,
you need to use the server file name binding in the Update record behavior.
when say "but it didn't work", please be more specific. In what way did it not work?
give me a copy of that page that has thew updates on it so i can see the code.