Add check for update packages

Change-Id: I0c0d9fe89a25c70cd124078d90afd9f65fc6d153