updating tree spec code styling wise