database feature adding now working