update the table safety check with db_escape table