update medium settings