fix bug when updating section / dont empty script field