update photos controller spec and factories