updated from class