Added 'update DB' method