Man charged with hiding corpse pleads guilty to amended char