fix for multiple stock id stock update