updates code style a few