updated functionality for org-capture