instructions to set db