Add duration field to post_params