add select url method to database_handle