added some update and paus/release code