Fixed bugs with updating/inserting