add change picture fuction