update modules set value if is array when save action