update the sign formspec (backported from minetest_game)