updating work and profile for medium