bug fixes for updating prices