few changes in approve product query