changed phase attribute from boolean to Boolean

so it is not required in phase updates