create Python script from model update