update user macro to directory path