backend support for updating stock items