update style and forms of leaves view