repopulate inputs