add braces around an if statement

this is also an excuse to use git up