update magit theme
remove unused code