store capitalization operation in db