adding additional required fields and updating categories method to retu...

...rn hqmf_id