saving idea to db