Fix sec boot

your code is wrong. as there can be other reasons why location is changed and need to be rewritten and I really want to set only true if needed, but not set false.
And yes, enable can be new_state