Update DB functional