updating inputs, removing div wrappers