added plans to database