update is finished logic..