Rename Album in Photos

I have a script that works through existing albums and adds photos to an album based on the month they were taken. At the start of the script it checks if the album exists if not it added it. What I you like to be able to do is rename the album based on the year being processed. but I cannot find any way to rename an Album using apple script . any thoughts greatly appreciated .

Model: MacbookPro
AppleScript: 2.7
Browser: Safari 604.5.6
Operating System: Mac OS X (10.13 Developer Beta 3)

The generic code below changes the name of an album in Photos. Simply change originalName to the name of the album you want to change and put the name you want the album to change to into newName. This should get you started.

tell application "Photos"
	set name of album "originalName" to "newName"
end tell