Working on Setting data in the database