added methods to update stock and availabilities