updated the ref setup