Merge pull request #194 from Jedwondle/master

Fixed the update, it is now working and we can now enter components into the database.
fix for the findbyid
Merge pull request #195 from dshurt/master

fix for the findbyid