update paragraph/span setters and getters