Fixed an error in the code

Forgot to add the code to add the logo to the db