add insertion on database feature