Update 'update chemical' functionality to work with redesigned DB