update fence