updates code style