added a few different update functions for stocks