To update a non-default map, you must do the following:
Create or edit its corresponding text file.
Build (or rebuild) the new or updated map. There are two ways to build a map.
Use the Makefile. Using the Makefile is the preferred method of building a non-default map. If the map has an entry in the Makefile, run make name where name is the name of map you want to build. If the map does not have a Makefile entry, try to create one following the instructions in Modifying and Using /var/yp/Makefile.
Use the /usr/sbin/makedbm program. The makedbm(1M) man page fully describes this command.