update database security