Updating SQL for status email #53