fixed datatyper
chanegd datatype
cleaning up of code , little bit and still the data is not saved into db not sure why