A programmer is writing a Python program to manage a membership system.
A user enters a member's name and their loyalty points balance when the program executes.
The program should display the message 'Upgrade available for ' followed by the member's name specifically when the loyalty points balance is greater than 500.
An incomplete version of the code is shown below:
name = input("Enter member name: ")
points = int(input("Enter loyalty points: "))
# Complete the code below
Amend the code to complete the program as specified.