Fixed 'shared' and input element updating