update PYButton