moving @pictures from controller into db