changed insert

changed insert, now date problems may be solved