Update formatting and add missing semicolon