update stock implemented