changed db template