code updates for sketch post