update patches every tick