Adopted some SQL queries params for brand new cascade updating mechanism in android app