added change photo gallery cover functionality