PD Update

Updating SQL statements