update file with rpc & button changes