plan & gateway repo+interface
update