improved performance and removed inconsistencies

- added support for setting multiple names and multiple name sections