changing cloudlet to sql db