update instance