updated summary in api endpoint