that is down to the discretion of the individual and does not need to be limited to ulama who write books. there are many ulama and others who serve the deen in many different ways. people can donate to them as well.