added refresh option to fieldtype