add pcrocedure_metadata table to the join