added ref model
added header param
added header param support