Dealing with professor's death on my thesis
You should definitely keep the name. I've seen that people who passed away during some endeavor usually have their names surrounded with a rectangle.

You can also consider putting some In Memoriam page for your mentor somewhere at the beginning of the thesis. You should consult other people within your institutions culture to make sure that this doesn't come off as pretentious (although I see no reason why it should).