can save checked and unchecked boxes to database