Update template to allow more databases