update and insert fix and works fine at least the stuff what i have tested xD might missed some magic stuff :3 ~some magic bugs maybe~