Added download type in post model