added REPLACE INTO support