UPDATE: database update with data printing