POST body updates the server function