updating paintings to check if they exist