Made the sid section recalculate when written and when the section recreates a serval key