profile class updated for updateing