Also update class vars if successfull update