edit firstcode checkbox and start database