Added some documentation to UpdateHandler.java

Compressed an if statement to a inline one as well, line 58