fix php for storing ui version, map type, user id