Valuelist with database values updating problem

I ve got a valuelist with database values on a form A that shows a name(value) from a Form B in a field and returns the id for the record on that Form B. When i change the name in form B and go back to form A that has to show this name (records on that form have a fk pointed to records on form B)
the name isnt updated. Should i use a custom Valuelist that i can edit (with setValueListItems()) or can i make a database valuelist update ?