block setting js update