hooked up edit input fields