better print and update db
style