DB query update Minor