Added Changes to be able to insert database