Update DBfunctions.c