gem maintenance