Added modify_dict to splice_dictionary