updated stock schema