update stock php