update instance vars