Update database/collection