adding new photos and albums to the database