(python lib) fix updating forms