add update state to deploy action

Change-Id: I6216c4ed99255cc6428ebe1aa870291082ba1131