Add refresh_interval parameter.

Change-Id: I01a55e14a169f257474cb6eff1a7b09a8eb9f293