Update account log function