How to update stock opening