Updating type
Change type on resume